package com.lagou.constant;

/**
 * @Description: RabbitMQ常量
 * @Author: qjc
 * @Date: 2021/12/9
 */
public class RabbitMQConstant {


    /**
     * Direct交换机：dlx死信交换器
     */
    public static final String EXCHANGE_DLX = "dlx_exchange";
    /**
     * Direct交换机：用来测试死信队列而创建的正常交换器
     */
    public static final String EXCHANGE_DLX_NORMAL = "dlx_exchange_normal";


    /**
     * 死信队列
     */
    public static final String QUEUE_DLX = "dlx.queue";
    /**
     * 用来测试死信队列而创建的正常队列
     */
    public static final String QUEUE_DLX_NORMAL = "dlx.queue.normal";


    /**
     * 死信队列路由key
     */
    public static final String ROUTING_KEY_DLX = "routing.key.dlx";
    /**
     * 用来测试死信队列而创建的正常路由key
     */
    public static final String ROUTING_KEY_DLX_NORMAL = "routing.key.dlx.normal";

}
